<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<script type="text/javascript">

$(document).ready(function(){
	$("ul li:eq(9)").addClass("active");		
});

</script>
<style type="text/css">
	.span6 {
		width:0px;
		height: 0px;
		padding-top: 0px;
		padding-bottom: 0px;
		margin-top: 0px;
		margin-bottom: 0px;
	}

</style>


	<br>	<br>
<body onload="font()">
<div class="data_list">
		<div class="data_list_title">
			物品登记
		</div>
		<form name="myForm" class="form-search" method="post" action="score?action=search" style="padding-bottom: 0px">
				<button class="btn btn-success" type="button" style="margin-right: 50px;" onclick="javascript:window.history.back(-1)">返回</button>
			<!--
<span class="data_search">
	
	

	<select id="dormid" name="dormid" >
        
        
            <option value="all">选择宿舍楼</option>
<option value="1">一栋</option>
<option value="2">二栋</option>
<option value="3">三栋</option>
<option value="4">四栋</option>
        </select>


					&nbsp;<input id="dorm" name="dorm" type="text"  style="width:120px;height: 30px;" class="input-medium search-query"  placeholder="寝室号...">
					&nbsp;<button type="submit" class="btn btn-info" onkeydown="if(event.keyCode==13) myForm.submit()">搜索</button>
				</span>
		--></form>
			
		
		
		
		
		
		<div>
			<table class="table table-striped table-bordered table-hover datatable">
				<thead>
					<tr>
					
					<th>楼栋</th>
					<th>寝室</th>
					<th>姓名</th>
					<th width="200">学号</th>
				    <th>物品</th>
				    <th>时间</th>
				    <th>备注</th>
				</tr>
				</thead>
				<tbody>
				<c:forEach  varStatus="i" var="goods" items="${goodslist}">
					<tr>
						<%-- <td>${i.count+(page-1)*pageSize }</td> --%>
						<td>${goods.dormid }</td>
						<td>${goods.dorm }</td>
						<td>${goods.name }</td>
						<td>${goods.stunum }</td>
						
						<td>${goods.goods }</td>
						<td>${goods.date }</td>
						
							<td>${goods.temp }</td>
						
						
					</tr>
				</c:forEach>
				</tbody>
			</table>
		</div>
	
</div></body>